package com.von.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.von.entity.DictionaryGroup;
import com.von.param.DictionaryGroupParam;
import com.von.result.R;

import java.util.List;

/**
 * <p>
 * 字典-组 服务类
 * </p>
 *
 * @author xiaosai
 * @since 2021-07-09
 */
public interface IDictionaryGroupService extends IService<DictionaryGroup> {

    /**
     * 分页查询
     * @param dictionaryGroupParam
     * @return
     */
    R<Page<DictionaryGroup>> list(DictionaryGroupParam dictionaryGroupParam);
    /**
     * 添加字典组
     * @param dictionaryGroup
     * @return
     */
    R<String> add(DictionaryGroup dictionaryGroup);

    /**
     * 更新
     * @param dictionaryGroupParam
     * @return
     */
    R<String> update(DictionaryGroupParam dictionaryGroupParam);

    /**
     * 删除
     * @param id
     * @return
     */
    R<String> del(Integer id);
}
